package com.cuijq.eduschool.exceptionhandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Classname GlobalExceptionHandler
 * @Description TODO
 * @Date 2021/3/25 20:39
 * @Created by CuiJQ
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EduException extends RuntimeException{

  @ApiModelProperty(value = "状态码")
  private Integer code;
  private String msg;

}
